package com.chainyoung.component_tmmarket.mvp.contract;

import com.chainyoung.common.mvp.IModel;
import com.chainyoung.common.mvp.IView;
import com.chainyoung.component_tmmarket.bean.Kline;
import com.chainyoung.component_tmmarket.bean.MarketList;

import java.util.List;
import java.util.TreeMap;

import io.reactivex.Flowable;

public interface MarketListContract {

    interface View extends IView{
        void showMarketList(String data);
    }

    interface Model extends IModel {

        Flowable<String> getMarketList(TreeMap<String,Object> map);
    }

}
